<template>
  <div class="msg">
      <ul v-for="(index, item) in dataList" :key="item">
          <li>{{index}}</li>
      </ul>
  </div>
</template>

<script>

export default {
    data () {
        return {
            dataList: []
        }
    },
    methods: {
        async getInfo(){
            const data = await this.$axios({
                method: 'get',
                url: '/getInfo'
            })
            console.log(data)
            this.dataList = data.data.data.dirs
        }
    },
    mounted() {
        this.getInfo()
    }
}
</script>

<style>

</style>